[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 61 Fn 0C  u - PC/tcp Kernel V2.05+ - "net_stat" - Get Connection Stat  [N]

   AH = 0Ch
   BX = network descriptor or one of the following:
       FFFCh for kernel ICMP statistics
       FFFDh for kernel UDP statistics
       FFFEh for kernel IP statistics
       FFFFh for kernel TCP statistics
   DS:DX -> 64-byte buffer

Return: CF clear if successful
       buffer filled
   CF set on error
       AX = error code (see INT 61"PC/TCP")

Notes: the fields filled in for a network descriptor depend on the protocol
     family used by that descriptor's connection
   this function is not supported by Beame&Whiteside's BWPCTCP v3.0a shim

See Also: INT 61"PC/TCP",INT 61/AH=00h"PC/TCP"

Format of kernel TCP statistics:
Offset Size    Description
 00h 16 BYTEs  unused
 10h   DWORD   bytes sent
 14h   DWORD   bytes received
 18h  8 BYTEs  unused
 20h   DWORD   packets sent
 24h   DWORD   packets received
 28h   DWORD   bad checksums
 2Ch   DWORD   count of window ignored by remote
 30h   DWORD   timeouts
 34h   DWORD   resets
 38h   DWORD   duplicate packets
 3Ch   DWORD   retransmits

Format of kernel IP statistics:
Offset Size    Description
 00h  8 BYTEs  unused
 08h   DWORD   invalid IP header length errors
 0Ch   DWORD   protocol errors (unwanted packets)
 10h   DWORD   duplicate fragments received
 14h   DWORD   bad fragments received
 18h   DWORD   security errors
 1Ch   DWORD   count of bad IP addresses received
 20h   DWORD   packets sent
 24h   DWORD   packets received
 28h   DWORD   bad checksums received
 2Ch   DWORD   total IP protocol errors
 30h   DWORD   fragmentation errors
 34h   DWORD   IP packets discarded + bad security + bad fragments
 38h   DWORD   fragments received
 3Ch  4 BYTEs  unused

Format of kernel UDP statistics:
Offset Size    Description
 00h 28 BYTEs  unused
 1Ch   DWORD   packets dropped for lack of buffers
 20h   DWORD   packets sent
 24h   DWORD   packets received
 28h   DWORD   bad checksums
 2Ch   DWORD   port not listening errors
 30h  4 BYTEs  unused
 34h   DWORD   truncated receives
 38h  8 BYTEs  unused

Format of kernel ICMP statistics:
Offset Size    Description
 00h   DWORD   "TimeEx" sent
 04h   DWORD   "TimeEx" received
 08h   DWORD   "ParamProb" sent
 0Ch   DWORD   "ParamProb" received
 10h   DWORD   redirects received
 14h   DWORD   source quenches received
 18h   DWORD   ICMP Echo Requests ("ping") sent
 1Ch   DWORD   ICMP Echo Requests received
 20h   DWORD   packets sent
 24h   DWORD   packets received
 28h   DWORD   bad packets received
 2Ch   DWORD   "DestUn" received
 30h   DWORD   packet send errors
 34h   DWORD   "DestUn" sent
 38h   DWORD   ICMP Echo replies received
 3Ch   DWORD   ICMP Echo replies sent

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson